﻿2026-06-04T13:09:10.0267441Z ##[group]Run if (Get-Command claude -ErrorAction SilentlyContinue) {
2026-06-04T13:09:10.0267827Z [36;1mif (Get-Command claude -ErrorAction SilentlyContinue) {[0m
2026-06-04T13:09:10.0268063Z [36;1m  $env:SPT_BUDGET = "1"[0m
2026-06-04T13:09:10.0268225Z [36;1m  $env:SPT_BUDGET_N = "3"[0m
2026-06-04T13:09:10.0268413Z [36;1m  $env:SPT_BUDGET_PROGRAM = "claude"[0m
2026-06-04T13:09:10.0268602Z [36;1m  $env:SPT_BUDGET_SETTLE_MS = "15000"[0m
2026-06-04T13:09:10.0268844Z [36;1m  cargo test -p spt-daemon --test budget --release -- --nocapture[0m
2026-06-04T13:09:10.0269071Z [36;1m} else {[0m
2026-06-04T13:09:10.0269264Z [36;1m  # ASCII only: Windows PowerShell 5.1 reads the step's temp script[0m
2026-06-04T13:09:10.0269551Z [36;1m  # without a BOM as ANSI, so a multibyte dash corrupts the string[0m
2026-06-04T13:09:10.0269823Z [36;1m  # terminator (the first tagged-run failure mode here).[0m
2026-06-04T13:09:10.0270111Z [36;1m  Write-Output "claude not installed on this runner - shell numbers only"[0m
2026-06-04T13:09:10.0270383Z [36;1m}[0m
2026-06-04T13:09:10.0300333Z shell: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.EXE -command ". '{0}'"
2026-06-04T13:09:10.0300596Z ##[endgroup]
2026-06-04T13:09:10.6669367Z     Finished `release` profile [optimized] target(s) in 0.44s
2026-06-04T13:09:10.6819955Z      Running tests\budget.rs (target\release\deps\budget-e1b368d78c50cf72.exe)
2026-06-04T13:09:10.6884649Z 
2026-06-04T13:09:10.6884747Z running 1 test
2026-06-04T13:09:32.5129801Z ## dormancy budget — 3 x `claude `
2026-06-04T13:09:32.5130043Z host: HFENDULEAM (windows)
2026-06-04T13:09:32.5130136Z 
2026-06-04T13:09:32.5130230Z | seat | pid | rss | handles/fds | idle cpu (s over 5s) |
2026-06-04T13:09:32.5130449Z |------|-----|-----|-------------|------------------------|
2026-06-04T13:09:32.5130642Z | budget-0 | 57916 | 308.5 MiB | 240 | 0.000 |
2026-06-04T13:09:32.5131018Z | budget-1 | 54380 | 308.5 MiB | 244 | 0.016 |
2026-06-04T13:09:32.5131436Z | budget-2 | 58772 | 309.0 MiB | 244 | 0.000 |
2026-06-04T13:09:32.5131650Z 
2026-06-04T13:09:32.5131957Z per-seat avg: rss 308.7 MiB · 242 handles/fds · idle cpu 0.005 s/5s
2026-06-04T13:09:32.5132433Z broker-side overhead for 3 seats (this process RSS delta): 760.0 KiB
2026-06-04T13:09:34.2130792Z suspended residual (this process RSS after killing all seats): 6.2 MiB (was 6.1 MiB warm)
2026-06-04T13:09:34.2135111Z test measure_dormant_seat_budget ... ok
2026-06-04T13:09:34.2135254Z 
2026-06-04T13:09:34.2135417Z test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 23.52s
2026-06-04T13:09:34.2135619Z 
